package com.bdqn.demo.pojo;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import lombok.Data;

/**
 * 
 * @TableName sys_user
 */
@Table(name="sys_user")
@Data
public class SysUser implements Serializable {
    /**
     * 编号
     */
    @Id
    @Column(name = "usr_id")
    private Long usrId;

    /**
     * 姓名
     */
    @Column(name = "usr_name")
    private String usrName;

    /**
     * 密码
     */
    @Column(name = "usr_password")
    private String usrPassword;

    /**
     * 角色编号
     */
    @Column(name = "usr_role_id")
    private Long usrRoleId;

    /**
     * 状态
     */
    @Column(name = "usr_flag")
    private Integer usrFlag;

    private static final long serialVersionUID = 1L;
}